package com.yanqu.road.entity.enums;

public enum eSexType {
    MALE(1), FEMALE(2);

    eSexType(int value) {
        this.value = value;
    }

    public int value;

    public int getValue() {
        return value;
    }

    public static eSexType parse(int value) {
        eSexType[] values = eSexType.values();
        for (eSexType sexType : values) {
            if (sexType.value == value) {
                return sexType;
            }
        }
        return null;
    }

}
